package com.woniu.smart.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName equipment
 */
@Data
public class Equipment implements Serializable {
    /**
     * 设备id
     */
    private Integer equipmentId;

    /**
     * 设备名称
     */
    private String equipmentName;

    /**
     * 设备编号
     */
    private String equipmentNum;

    /**
     * 设备型号
     */
    private String equipmentModel;

    /**
     * 设备运行时长
     */
    private String equipmentTiming;

    /**
     * 设备安装位置
     */
    private String equipmentPlace;

    /**
     * 设备照片
     */
    private String equipmentImg;

    /**
     * 设备现场照片
     */
    private String equipmentFieldimg;

    /**
     * 设备更新时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date equipmentUpdatetime;

    /**
     * 设备厂家
     */
    private String equipmentFactory;

    /**
     * 设备出厂时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date equipmentBirtime;

    /**
     * 产品版本
     */
    private String equipmentVersion;

    /**
     * 运行状态id
     */
    private Integer runStateId;

    /**
     * 关联7.园区员工表
     */
    private Integer empId;

    /**
     * 备用列1
     */
    private String equipmentBy1;

    /**
     * 备用列2
     */
    private String equipmentBy2;

    /**
     * 备用列3
     */
    private String equipmentBy3;

    private static final long serialVersionUID = 1L;
}